# makefile for building tests

INC=../include
BIN=../bin
LIB=../lib

CC=gcc
CFLAGS=-g -Wall -I$(INC) -DCO_DEBUG -DCO_COUNT_ALLOCS

OBJS=all_test.o
T=$(BIN)/all_test

all: clean $(T)

$(T): $(OBJS) $(LIB)/libcallother.a
	$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(LIB) -lcallother

clean:
	rm -f $(T) $(OBJS)
